﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200084B RID: 2123
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetSummonActivityDataScRsp : IMessage<GetSummonActivityDataScRsp>, IMessage, IEquatable<GetSummonActivityDataScRsp>, IDeepCloneable<GetSummonActivityDataScRsp>, IBufferMessage
	{
		// Token: 0x17001AD5 RID: 6869
		// (get) Token: 0x06005F06 RID: 24326 RVA: 0x000FDA0F File Offset: 0x000FBC0F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetSummonActivityDataScRsp> Parser
		{
			get
			{
				return GetSummonActivityDataScRsp._parser;
			}
		}

		// Token: 0x17001AD6 RID: 6870
		// (get) Token: 0x06005F07 RID: 24327 RVA: 0x000FDA16 File Offset: 0x000FBC16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetSummonActivityDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001AD7 RID: 6871
		// (get) Token: 0x06005F08 RID: 24328 RVA: 0x000FDA28 File Offset: 0x000FBC28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetSummonActivityDataScRsp.Descriptor;
			}
		}

		// Token: 0x06005F09 RID: 24329 RVA: 0x000FDA2F File Offset: 0x000FBC2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSummonActivityDataScRsp()
		{
		}

		// Token: 0x06005F0A RID: 24330 RVA: 0x000FDA42 File Offset: 0x000FBC42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSummonActivityDataScRsp(GetSummonActivityDataScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.summonActivityDatas_ = other.summonActivityDatas_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06005F0B RID: 24331 RVA: 0x000FDA78 File Offset: 0x000FBC78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetSummonActivityDataScRsp Clone()
		{
			return new GetSummonActivityDataScRsp(this);
		}

		// Token: 0x17001AD8 RID: 6872
		// (get) Token: 0x06005F0C RID: 24332 RVA: 0x000FDA80 File Offset: 0x000FBC80
		// (set) Token: 0x06005F0D RID: 24333 RVA: 0x000FDA88 File Offset: 0x000FBC88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17001AD9 RID: 6873
		// (get) Token: 0x06005F0E RID: 24334 RVA: 0x000FDA91 File Offset: 0x000FBC91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<SummonActivityData> SummonActivityDatas
		{
			get
			{
				return this.summonActivityDatas_;
			}
		}

		// Token: 0x06005F0F RID: 24335 RVA: 0x000FDA99 File Offset: 0x000FBC99
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetSummonActivityDataScRsp);
		}

		// Token: 0x06005F10 RID: 24336 RVA: 0x000FDAA8 File Offset: 0x000FBCA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetSummonActivityDataScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.summonActivityDatas_.Equals(other.summonActivityDatas_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005F11 RID: 24337 RVA: 0x000FDAF8 File Offset: 0x000FBCF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.summonActivityDatas_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005F12 RID: 24338 RVA: 0x000FDB45 File Offset: 0x000FBD45
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005F13 RID: 24339 RVA: 0x000FDB4D File Offset: 0x000FBD4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005F14 RID: 24340 RVA: 0x000FDB58 File Offset: 0x000FBD58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.summonActivityDatas_.WriteTo(ref output, GetSummonActivityDataScRsp._repeated_summonActivityDatas_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005F15 RID: 24341 RVA: 0x000FDBA8 File Offset: 0x000FBDA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.summonActivityDatas_.CalculateSize(GetSummonActivityDataScRsp._repeated_summonActivityDatas_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06005F16 RID: 24342 RVA: 0x000FDBFC File Offset: 0x000FBDFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetSummonActivityDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.summonActivityDatas_.Add(other.summonActivityDatas_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06005F17 RID: 24343 RVA: 0x000FDC49 File Offset: 0x000FBE49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06005F18 RID: 24344 RVA: 0x000FDC54 File Offset: 0x000FBE54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 74U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.summonActivityDatas_.AddEntriesFrom(ref input, GetSummonActivityDataScRsp._repeated_summonActivityDatas_codec);
				}
			}
		}

		// Token: 0x04002495 RID: 9365
		private static readonly MessageParser<GetSummonActivityDataScRsp> _parser = new MessageParser<GetSummonActivityDataScRsp>(() => new GetSummonActivityDataScRsp());

		// Token: 0x04002496 RID: 9366
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002497 RID: 9367
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04002498 RID: 9368
		private uint retcode_;

		// Token: 0x04002499 RID: 9369
		public const int SummonActivityDatasFieldNumber = 9;

		// Token: 0x0400249A RID: 9370
		private static readonly FieldCodec<SummonActivityData> _repeated_summonActivityDatas_codec = FieldCodec.ForMessage<SummonActivityData>(74U, SummonActivityData.Parser);

		// Token: 0x0400249B RID: 9371
		private readonly RepeatedField<SummonActivityData> summonActivityDatas_ = new RepeatedField<SummonActivityData>();
	}
}
